package net.quanter.demo.junit5.mybatis.vo;

import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

/***
 *
 * 2020-06-04
 * @author harley-dog
 *
 */
public class HttpResult {
    @Getter
    private Map<String,String> headerMap = new HashMap<>();

    @Getter
    private Map<String,String> cookieMap = new HashMap<>();

    public void addHeader(String name,String value){
        headerMap.put(name,value);
    }

    public void addCookie(String name,String value){
        cookieMap.put(name,value);
    }
}
